<template>
    <div class="DataTitle">
        <div>
            <el-icon>
                <Tickets />
            </el-icon>
            <span>数据列表11</span>
        </div>
        <div>
            <slot></slot>
        </div>
    </div>
</template>

<script setup lang="ts">
import { Tickets } from "@element-plus/icons-vue"
</script>

<style lang="less" scoped>
.DataTitle {
    margin-top: 10px;
    height: 40px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
</style>